<template>
  <!-- 商品详情页中的商品名字及价格部分 -->
  <div class="detail-desc">
    <div class="top">{{goods.goods_name}}</div>
    <div class="bto">
      <span class="bto-left">¥{{goods.price}}</span>
      <span class="bto-right">已售 36</span>
    </div>
  </div>
</template>

<script>
export default {
  name:'DetailDesc',
  props: {
     goods:Object
  },
  data() {
    return {

    }
  }
}
</script>

<style lang="less" scoped>
.detail-desc {
  background: #fff;
  padding-left: 0.15rem;
  .top {
    padding-top: 0.105rem;
    margin-bottom: 0.095rem;
    color: #333;
    font-size: 0.15rem;
  }
  .bto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: .2rem;
    .bto-left {
      color: #d20a0a;
      font-size: 0.24rem;
    }
    .bto-right {
      color: #666;
      font-size: 0.14rem;
      margin-right: 0.15rem;
    }
  }
}
</style>
